package com.prs.crm.service.sale;

import com.prs.crm.domain.sale.QuotationDetail;
import com.prs.crm.domain.sale.QuotationSheet;
import com.prs.crm.domain.stock.Product;
import com.prs.crm.service.FlowService;

public interface QuotationSheetService extends FlowService<QuotationSheet> {
	
	void saveQuotation(QuotationSheet quotationsheet,Product[] products,String[] pronames,Double[] originalCosts,Double[] nowCosts,Integer[] quotationNums,Double[] rebates,Double[] totalPrices);

	QuotationDetail  getQuotationDetail(Product product_id,QuotationSheet quotation_id);
	
	QuotationSheet getQuotationSheet(java.io.Serializable id);
	
	void saveOrUpdate(QuotationDetail quotationDetail);
	
	void saveOrUpdateQuotationSheet(QuotationSheet quotationSheet);
	
}
